import Camera from "./SubSystem/Camera";
import Keybind from "./SubSystem/Keybind";
import { ResourceManager } from "./SubSystem/ResourceManager";
import { FocusRender } from "./SubSystem/FocusRender";
import { MouseControl } from "./SubSystem/MouseControl";
class System {
    // 下面的系统全局只能拥有一个，所以这样进行维护
    FocusRender = new FocusRender();
    Camera = new Camera();
    Keybind = new Keybind();
    Mouse = new MouseControl(this);
    Bullets = new ResourceManager(this);
}

const system = new System();
export default system;

type SystemType = typeof system;
export { SystemType };
